<?php
/**
 * 文章和图片关联关系表
 */
namespace haibao\app\model\data;

class ArticleImage extends Base{
    
    /**
     * 文章ID
     */
    public $ArticleId;
    
    /**
     * 图片ID
     */
    public $ImageId;
    
    /**
     * __construct()
     */
    public function __construct(){
        parent::__construct();
        
        $this->intField('ArticleId', 'ArticleId', true);
        $this->intField('ImageId', 'ImageId', true);
        
        $this->setTableName('ArticleImage');
    }
}